﻿using System.ComponentModel.DataAnnotations;

namespace GZNest.Entity.Spin.System
{
    public class Machine
    {
        public int Id { get; set; }

        [Required(ErrorMessage = "Machine name is required.")]
        [MaxLength(30, ErrorMessage = "OUT OF RANGE")]
        public string Name { get; set; }
        public string Description { get; set; }

        public bool Enabled { get; set; }
    }
}
